﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace TeBigCoreApi.Common
{
    public static class DeptManager
    {
        public class StationLocation
        {
            public string Name { get; set; }
            public double Longitude { get; set; }
            public double Latitude { get; set; }
        }

        public class StationList : List<StationLocation>
        {
            public void Add(string name, double lon, double lat)
            {
                this.Add(new StationLocation { Name = name, Longitude = lon, Latitude = lat });
            }
        }

        public static StationList Stations { get; } = new StationList
        {
            { "萨尔图分局", 125.08935, 46.59582 },
            { "东安分局", 125.10461, 46.58435 },
            { "会战分局", 125.0166, 46.5968 },
            { "铁人分局", 125.02368, 46.60314 },
            { "高新区分局", 125.1383, 46.56481 },
            { "让胡路分局", 124.86425, 46.65112 },
            { "喇嘛甸分局", 124.91833, 46.73333 },
            { "龙岗分局", 124.89074, 46.63 },
            { "龙南分局", 124.88586, 46.62353 },
            { "东湖分局", 124.88623, 46.56707 },
            { "乘风分局", 124.86914, 46.53448 },
            { "红岗分局", 124.88378, 46.39501 },
            { "八百垧分局", 124.8518, 46.47167 },
            { "龙凤分局", 125.1123, 46.54199 },
            { "卧里屯分局", 125.1997, 46.45214 },
            { "大同分局", 124.82031, 46.03076 },
            { "东光分局", 125.10755, 46.5184 },
            { "杜蒙公安局", 124.43994, 46.86163 },
            { "林甸公安局", 124.86645, 47.18753 },
            { "肇源公安局", 125.07141, 45.51513 },
            { "肇州公安局", 125.27978, 45.708 },
        };
    }
}
